package org.crystal.tradecraft.model.binance.trade;

import org.crystal.tradecraft.model.binance.enumeration.OrderSide;
import org.crystal.tradecraft.model.binance.enumeration.OrderStatus;
import org.crystal.tradecraft.model.binance.enumeration.OrderType;
import org.crystal.tradecraft.model.binance.enumeration.STPMode;
import org.crystal.tradecraft.model.binance.enumeration.TimeInForce;
import org.crystal.tradecraft.model.binance.enumeration.WorkingFloor;

import java.time.Instant;
import java.util.List;

public record OrderResponse(
    String symbol,
    long orderId,
    long orderListId,
    String clientOrderId,
    Instant transactTime,
    double price,
    double origQty,
    double executedQty,
    double cummulativeQuoteQty,
    OrderStatus status,
    TimeInForce timeInForce,
    OrderType type,
    OrderSide side,
    Instant workingTime,
    List<OrderFill> fills,
    WorkingFloor workingFloor,              
    STPMode selfTradePreventionMode,
    boolean usedSor
) {

}
